<?php
class Admin implements \Serializable
{
	public function serialize() {
        return serialize(array());
    }
    public function unserialize($data) {
        //$this = unserialize($data);
    }
    public static function login($id,$pass)
    {
        if($id==Config::adminid&&$pass==Config::adminpass)
        {
            return new Admin();
        }
        else
        {
            return false;
        }
    }
}
